package org.ourgrid.worker.business.requester;

import java.util.ArrayList;
import java.util.List;

import org.ourgrid.common.internal.IResponseTO;
import org.ourgrid.worker.business.controller.ExecutionController;
import org.ourgrid.worker.request.ExecutionIsRunningRequestTO;

public class ExecutionIsRunningRequester extends AbstractWorkerExecutionClientRequester<ExecutionIsRunningRequestTO> {

	public List<IResponseTO> execute(ExecutionIsRunningRequestTO request) {
		ExecutionController.getInstance().executionIsRunning(request.getHandle());
		
		return new ArrayList<IResponseTO>();
	}

}
